ns = range(100, 10000, 100)


with open("commands_bin", 'w') as f:
    for n in ns:
            commandLine = "python run_bin.py %d > >(tee -a /home/asand/tqDist-experiments/stdout_bin) 2> >(tee -a /home/asand/tqDist-experiments/stderr_bin >&2)\n" % n
            f.write(commandLine)

print "wrote %d commands to commands_bin" % len(ns)
